#include "fmt/core.h"
#include "network/ip_address.hpp"

using namespace  ibox::network;

int main() {
    IpAddress ip = IpAddress::from_string("192.168.0.1");
    IpAddress mask = IpAddress::from_string("255.255.255.0");
    IpAddress net = ip & mask;
    fmt::print("net: {}\n", net.to_string());
    fmt::print("IpAddress::loop: {}\n", IpAddress::loop().to_string());
    fmt::print("IpAddress::any: {}\n", IpAddress::any().to_string());
}
